<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <meta name="csrf_token" id="token" content="{{ csrf_token() }}">
    @include('public.h5_head')
    <title>提交审核</title>
    <script src="{{ env('CDN_DOMAIN_NAME') }}/js/commonjs/rem.js"></script>
    <link rel="stylesheet" type="text/css" href="{{ env('CDN_DOMAIN_NAME') }}/css/commoncss/common.css"/>
    <link rel="stylesheet" type="text/css" href="{{ env('CDN_DOMAIN_NAME') }}/css/buy_details.css?v=1.0.2"/>
</head>
<script src="{{ env('CDN_DOMAIN_NAME') }}/js/commonjs/iscroll.js"></script>
<script src="{{ env('CDN_DOMAIN_NAME') }}/js/app.js"></script>
<body onload="loaded()">
<div id="box_Operate">
    <div class="wrap">
        <div class="main_Operate">
            <ul class="Operate_ul">
                <li class="Operate_li">
                    <span class="Operate_sp">同区客户信息</span>
                </li>
                <li class="Operate_li">
                    <span class="Operate_sp">客户数量</span>
                    <span class="info_sp">{{ $datas['count'] }}</span>
                </li>
                <li class="Operate_li">
                    <span class="Operate_sp">签约客户(是/否)</span>
                    <span class="info_sp">
                        @if($datas['sign_brand'])
                            是
                            @else
                            否
                        @endif
                    </span>
                </li>
                <li class="Operate_li">
                    <span class="Operate_sp">VIP数量</span>
                    <span class="info_sp">{{ $datas['vip'] }}</span>
                </li>
                <li class="Operate_li">
                    <span class="Operate_sp">同区拿货量</span>
                </li>
            </ul>
            <?php
                $brands = [1=>'Soyyos',2=>'SoonWord']
            ?>
            <ol class="Operate_ol">
                @if(count($datas['area']) > 0)
                    @foreach($datas['area'] as $k=>$v)
                <li class="Operate_lis">
                    <p class="Operate_p"><span class="Operate_name">{{ $k }}</span></p>
                    @foreach($brands as $ks=>$vs)
                        @if(!empty($v[$ks]))
                    <p class="Operate_p"><span class="Operate_name">{{ $vs }}</span><span class="Operate_num">{{ $v[$ks] }}<em>/手</em></span></p>
                        @else
                            <p class="Operate_p"><span class="Operate_name">{{ $vs }}</span><span class="Operate_num">0<em>/手</em></span></p>
                        @endif
                            @endforeach
                </li>
                    @endforeach
                @endif
            </ol>
            <div class="kong"></div>
        </div>
    </div>
    <button class="refer_div">提交</button>
    <div class="Operate_hide" style="display:none;"></div>
</div>
<script>
    var user_id='{{ $uid }}';
</script>
<script src="{{ env('CDN_DOMAIN_NAME') }}/js/buy_details.js?v=1.0.1"></script>
</body>
</html>
